package de.tum.in.eist.poll.client.controllers;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

import de.tum.in.eist.poll.shared.beans.Feedback;

/**
 * Evaluation Controller
 * @author Sebastian Hofstetter
 *
 */
public class EvaluationController extends Controller {
	/**
	 * gets all Feedback for the selected lecture
	 * @param callback
	 */
	public void getFeedback(AsyncCallback<List<Feedback>> callback) {
		pollService.requestFeedback(Controller.controller.getCurrentLectureId(), callback);
	}
}
